package cn.hongwei;

import cn.hongwei.config.Config;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author Great
 * @email 1224028994@qq.com
 */
public class TestIOCAnno {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context=new AnnotationConfigApplicationContext(Config.class);
        context.getBean("person");
    }
}
